const optionItems = [
  { label: "选项1", value: "1" },
  { label: "选项2", value: "2" },
  { label: "选项3", value: "3" },
];

export const basicFields = [
  {
    type: "input",
    name: "填空题",
    comment: "",
    unit: "",
    answer: "",
    disabled: false,
  },
  {
    type: "radio",
    name: "单选题",
    comment: "",
    optionItems,
    answer: null,
    disabled: false,
  },

  {
    type: "checkbox",
    name: "多选题",
    label: "多选题",
    comment: "",
    optionItems,
    answer: null,
    disabled: false,
  },

  {
    type: "select",
    name: "下拉题",
    comment: "",
    optionItems,
    answer: null,
    disabled: false,
  },

  {
    type: "date",
    name: "日期题",
    comment: "",
    answer: null,
    disabled: false,
  },
  {
    type: "table",
    category: "container",
    name: "表格题",
    comment: "",
    rows: ["行名"],
    cols: [{}, {}],
  },
];
